home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 23 / 023.d81 / t.ed in chief bo < prev    next >
Text File  |  2022-08-26  |  7KB  |  489 lines

  1.  
  2.  
  3.           EDITOR IN CHIEF
  4.                 by
  5.             Ron Coffen
  6.  
  7.  
  8.   Every product of your imagination
  9.  
  10. and labor deserves a personal touch--
  11.  
  12. even your computer programs.  EDITOR
  13.  
  14. IN CHIEF makes getting that special
  15.  
  16. touch easy by allowing you to design
  17.  
  18. your own character sets or use one of
  19.  
  20. seven fonts already provided.
  21.  
  22.  
  23. A SPECIAL FONT PRIMER...
  24.  
  25.   A font is the set of characters
  26.  
  27. used to form the words and symbols
  28.  
  29. that your programs print out across
  30.  
  31. the screen while your program is
  32.  
  33. running.  For example, these words
  34.  
  35. themselves are formed from characters
  36.  
  37. with a particular font design.
  38.  
  39.  
  40.   Why would you want to change fonts?
  41.  
  42. Well, one of the biggest reasons is
  43.  
  44. that changing fonts from the standard
  45.  
  46. Commodore font can give your program
  47.  
  48. the variety and polish it would
  49.  
  50. otherwise lack.
  51.  
  52.  
  53.   Another reason you would want to
  54.  
  55. change fonts is that some fonts can
  56.  
  57. add a whole new atmosphere and
  58.  
  59. cultural flavor to your programs.
  60.  
  61.  
  62.   For example, if you were writing an
  63.  
  64. adventure game set in King Arthur's
  65.  
  66. time, a Celtic design for your
  67.  
  68. letters would be a nice touch for
  69.  
  70. your program.  An adventure set in
  71.  
  72. the future would benefit from a
  73.  
  74. high-tech, futuristic font.
  75.  
  76.  
  77.   Another benefit of being able to
  78.  
  79. design your own characters is that
  80.  
  81. you can take a character, alter it,
  82.  
  83. and then let it stand as a symbol for
  84.  
  85. an artifact or character in an
  86.  
  87. adventure game such as a treasure
  88.  
  89. or a monster.  Also, a character
  90.  
  91. editor like EDITOR IN CHIEF is
  92.  
  93. essential if you need to create
  94.  
  95. special symbols like musical notes.
  96.  
  97.  
  98.   As you can see, EDITOR IN CHIEF can
  99.  
  100. add a whole new dimension to your
  101.  
  102. programs.
  103.  
  104.  
  105.   To make use of EDITOR IN CHIEF in
  106.  
  107. your programs, you must first store
  108.  
  109. the file containing the font you will
  110.  
  111. be using.  Then adding the code--
  112.  
  113. listed at the bottom of these
  114.  
  115. instuctions-- to the beginning of
  116.  
  117. your program will let you access that
  118.  
  119. font.  After this, any text printed
  120.  
  121. to the screen will appear in the new
  122.  
  123. font.
  124.  
  125.  
  126. USING EDITOR IN CHIEF
  127.  
  128.   When running this program, you will
  129.  
  130. first be asked if you wish to clear
  131.  
  132. the character set currently in
  133.  
  134. memory.  If you are using the program
  135.  
  136. for the first time or after having
  137.  
  138. turned the power off, you need to
  139.  
  140. answer (Y)es.  But if you are
  141.  
  142. returning to your work when the
  143.  
  144. computer has not been turned off,
  145.  
  146. pressing (N)o will reveal the
  147.  
  148. character set you were working on.
  149.  
  150.  
  151.   After you have responded to this
  152.  
  153. question, the computer then sets up
  154.  
  155. the main program.  At the bottom
  156.  
  157. right of the screen, you will see the
  158.  
  159. character set you are editing.  In
  160.  
  161. the upper right of the screen are
  162.  
  163. sixteen representations of the
  164.  
  165. character you are editing at that
  166.  
  167. moment.  (The program starts with
  168.  
  169. "A").
  170.  
  171.  
  172.   In the top left corner is the
  173.  
  174. editing grid where you make changes
  175.  
  176. to each character.  Again, you will
  177.  
  178. see that a large "A" is the starting
  179.  
  180. point.
  181.  
  182.  
  183.   Below the editing grid is a list of
  184.  
  185. your seven options:
  186.  
  187. 1. Edit Character
  188.  
  189. 2. Get Normal Font
  190.  
  191. 3. Move Characters
  192.  
  193. 4. Load Font
  194.  
  195. 5. Save Font
  196.  
  197. 6. Print Values
  198.  
  199. 7. Hard Copy of Values
  200.  
  201. 8. Return to Loadstar
  202.  
  203. Pressing the corresponding number
  204.  
  205. chooses the option.
  206.  
  207.  
  208.   Note that pressing F1 or F7 will
  209.  
  210. change the screen color.  And the
  211.  
  212. "REPEAT ON/OFF" sign found in the
  213.  
  214. middle of the screen lets you perform
  215.  
  216. an editing function such as rotation
  217.  
  218. repeatedly merely by pressing the
  219.  
  220. correct key repeatedly if this option
  221.  
  222. is activated.  If the "ON" sign is in
  223.  
  224. a lighter color than the rest of the
  225.  
  226. screen, the function is activated.
  227.  
  228. To turn this option on and off,
  229.  
  230. merely press "R".
  231.  
  232.  
  233. EDIT CHARACTER
  234.  
  235.   After you select this option, you
  236.  
  237. are prompted to enter either the
  238.  
  239. ASCII value for the character you want
  240.  
  241. or the character itself.  For
  242.  
  243. example, entering either a "1" or an
  244.  
  245. "A" will let you edit the first
  246.  
  247. letter of the alphabet.
  248.  
  249.  
  250.   The character you select is
  251.  
  252. displayed in an enlarged form over
  253.  
  254. the editing grid.  At the upper left
  255.  
  256. corner of the grid is a flashing
  257.  
  258. cursor that is moved with the cursor
  259.  
  260. keys.
  261.  
  262.  
  263.   Pressing "=" sets the pixel under
  264.  
  265. the cursor; pressing the SPACE BAR
  266.  
  267. will clear the pixel under the
  268.  
  269. cursor.  By filling in or clearing
  270.  
  271. the blocks of the grid, you can alter
  272.  
  273. the character almost any way you like.
  274.  
  275. Once you have the character like you
  276.  
  277. want it, pressing RETURN will make
  278.  
  279. that change in the character set.
  280.  
  281.  
  282.   Commands used to manipulate the
  283.  
  284. editing grid are listed below the
  285.  
  286. grid and largely self-explanatory:
  287.  
  288. 1. Cursor keys move cursor
  289.  
  290. 2. F1/F7 raises/lowers screen color
  291.  
  292. 3. "=" sets pixel under cursor
  293.  
  294. 4. SPACE BAR clears pixel under
  295.    cursor
  296.  
  297. 5. "@" rotates grid clockwise
  298.  
  299. 6. SHIFT + "@" rotates grid
  300.    counter-clockwise
  301.  
  302. 7. "M" mirrors grid
  303.  
  304. 8. "I" inverses grid
  305.  
  306. 9. U/N moves the grid up/down
  307.  
  308. 10. RETURN makes changes
  309.  
  310. 11. "C" cancels changes
  311.  
  312. 12. CLR clears grid
  313.  
  314.  
  315. GET NORMAL FONT
  316.  
  317.   The second option lets you replace
  318.  
  319. part of your character set with a
  320.  
  321. normal font.  Entering the ASCII
  322.  
  323. values of the beginning and ending
  324.  
  325. characters of the string will replace
  326.  
  327. it with a block of characters in
  328.  
  329. normal font.
  330.  
  331.  
  332. MOVE CHARACTERS
  333.  
  334.   This option moves strings of
  335.  
  336. characters to other positions within
  337.  
  338. the character set.  Again you must
  339.  
  340. specify the ASCII values of the
  341.  
  342. beginning and ending characters of
  343.  
  344. the string as well as the the value
  345.  
  346. of where you want to place the
  347.  
  348. string.
  349.  
  350.  
  351.   This option is primarily a copy
  352.  
  353. option that lets you save a number of
  354.  
  355. symbols close together in the
  356.  
  357. character set.  This option is
  358.  
  359. especially valuable when you are
  360.  
  361. dealing with symbols like musical
  362.  
  363. notes that are very much, but not
  364.  
  365. quite alike.  Sometimes a
  366.  
  367. side-by-side comparison is necessary
  368.  
  369. to discern the difference between
  370.  
  371. symbols under these circumstances.
  372.  
  373.  
  374. LOAD FONT
  375.  
  376.   This option will load your own
  377.  
  378. fonts or one of seven fonts already
  379.  
  380. provided.  The seven fonts are stored
  381.  
  382. as FONT0, FONT1, FONT2, etc.  Type in
  383.  
  384. the filename and press RETURN to load
  385.  
  386. the desired file.
  387.  
  388.  
  389. SAVE FONT
  390.  
  391.   This option saves the font you
  392.  
  393. presently have in memory so that you
  394.  
  395. can modify it later or use it in your
  396.  
  397. own programs.  If you save it under
  398.  
  399. a filename that is already on the
  400.  
  401. disk, the old file will be removed
  402.  
  403. and replaced with the new font.
  404.  
  405.  
  406. PRINT VALUES
  407.  
  408.   This option displays the grid
  409.  
  410. pattern and the decimal values of a
  411.  
  412. series of characters.  When you
  413.  
  414. select this option, you are prompted
  415.  
  416. for the ASCII values of the beginning
  417.  
  418. and ending characters of the string
  419.  
  420. you wish to view.
  421.  
  422.  
  423.   The grid pattern along with the
  424.  
  425. decimal values of each letter is
  426.  
  427. displayed.  Pressing RETURN sends you
  428.  
  429. to the next letter.
  430.  
  431.  
  432. HARDCOPY OF VALUES
  433.  
  434.   The last option will dump the
  435.  
  436. decimal values of the selected
  437.  
  438. characters to your printer with a
  439.  
  440. device number of 4 and a secondary
  441.  
  442. address of 4.
  443.  
  444.  
  445. TO USE FONTS IN YOUR OWN PROGRAMS...
  446.  
  447.   To use the fonts created with
  448.  
  449. EDITOR IN CHIEF in your own programs,
  450.  
  451. use the following lines at the
  452.  
  453. beginning of your program:
  454.  
  455. 5 IF ML=1 THEN ML=0:GOTO 15
  456.  
  457. 10 POKE56334,PEEK(56334)OR1:
  458.  
  459.    POKE53272,(PEEK(53272)AND240)+12
  460.  
  461. 12 ML=1:LOAD"font name",8,1
  462.  
  463. 15 rest of program here
  464.  
  465. After this code is added to your
  466.  
  467. program and after you have saved the
  468.  
  469. file containing the font you wish to
  470.  
  471. use on your disk, any text printed to
  472.  
  473. the screen will appear in your new
  474.  
  475. font.
  476.  
  477. FILES REQUIRED:
  478.  
  479. ED IN CHIEF BOOT
  480.  
  481. EDITOR IN CHIEF
  482.  
  483. FONT0 ... FONT6
  484.  
  485. -------------< end text >------------
  486.  
  487.  
  488.  
  489.